﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Vroom.Common.IFaces.Exceptions;
using System.Collections.Concurrent;

namespace Vroom.Common.IFaces.Exceptions
{
    public class ExceptionContext : IExceptionContext
    {
        public Guid ExceptionExecGuid              { get; set; }
        public ConcurrentBag<Exception> Exceptions { get; set; }

        public ExceptionContext(Guid exceptionExecGuid)
        {
            ExceptionExecGuid = exceptionExecGuid;
            Exceptions = new ConcurrentBag<Exception>();
        }
    }
}
